package sz.szsmk.citizencard.ui.base;


import com.trello.rxlifecycle.LifecycleTransformer;

/**
 * Created by sinner on 2017/3/16.
 */

public interface IBaseContact {
    public interface IBasePresenter<T> {


        void attachView(T view);

        void detachView();
    }

    public interface IBaseView {
        /**
         * 绑定生命周期
         *
         * @param <T>
         * @return
         */
        <T> LifecycleTransformer<T> bindToLife();
    }
}
